import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from '@/http/request'
// import Vant from 'vant'
// import 'vant/lib/index.css'

// Vue.use(Vant)
Vue.config.productionTip = false

const vm = new Vue({
  el: '#app',
  router,
  store,
  beforeCreate() {
    this.__proto__.$bus = this
    this.__proto__.$http = axios
  },
  render: (h) => h(App),
})

console.log('vm:')
console.dir(vm)
